package com.showgood.controller {
	import com.showgood.config.SangoConst;
	import com.showgood.core.AbstractSimpleCommand;
	import com.showgood.socket.SingleSocketCommand;
	import com.showgood.vo.BaseVO;
	import org.puremvc.as3.interfaces.INotification;
	
	/**
	 * 处理部队信息
	 * @author bianpeng
	 */
	public class ReplyArmyCommand extends AbstractSimpleCommand {
		
		public function ReplyArmyCommand() {
			super();
		}
		override public function execute(notify:INotification):void {
			var cmd:SingleSocketCommand = notify.getBody() as SingleSocketCommand;
			var vec:Vector.<BaseVO> = new Vector.<BaseVO>();
			vec.push(cmd.data);
			sendNotification(SangoConst.SHOW_ARMY_ON_SCREEN, vec);
		}
		
	}

}
